import { EventTarget, Node } from "cc";

export const eventTarget = new EventTarget();

export const bulletList:Array<Node> = [];

export enum ColliderTag{
    wall,//普通障碍
    enemy,//敌人
    enemyBullet,//敌人子弹
    player,//玩家
    playerBullet,//玩家子弹
    enemyWall,//敌人堡垒墙
    wall2,//子弹可穿越墙
    attackedWall,//可破坏建筑
    tool_people,//工具人
    normal_people,//普通人
    add_life,//增加生命
    max_fire,//最大火力
    enemy_people //敌人
}
//游戏对象攻击力
export const ObjectAtks = {
    bullet:10,
    thunder:100
}

export const ObjectLife = {
    SteelGun:100,
    EnemyPeople:10
}